package com.aruba.provider.service.impl;

import org.apache.dubbo.config.annotation.DubboService;
import com.aruba.api.service.DemoService;
import org.springframework.stereotype.Service;

@DubboService(weight = 1, loadbalance = "roundrobin")
public class DemoServiceImpl implements DemoService {

    @Override
    public String demo(String demo) {
        System.out.println(demo);
        return demo + ",hello";
    }

}
